<admintpl file="header"/>
<script src="http://qzonestyle.gtimg.cn/open/qcloud/video/live/h5/live_connect.js" charset="utf-8"></script>
</head>
<body>
<div class="wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a >直播预览</a></li>
		</ul>
    <div id="id_video_container" style="width:100%;height:1px;"></div>
</div>
<script type="text/javascript">
            (function(){
               var channel_id = "{$channel_id}";
               var app_id = "{$app_id}";
               var option = {"channel_id": channel_id, "app_id": app_id,"width":"1024","height":"768"};
               new qcVideo.Player(
                       /*代码中的id_video_container将会作为播放器放置的容器使用,可自行替换*/
                       "id_video_container",
                       option
                   );
             })()
 </script>            
</body>
</html>